<!doctype html>
<title>document.open in pagehide in iframe</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
var t = async_test();
var win;

t.step(function() {
  win = window.open("005-1.html");
});

add_completion_callback(function() {win.close()});
</script>
